<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" href="../../js\Calendar\tcal.css" rel="stylesheet" />
<script type="text/javascript" src="../../js\Calendar\tcal.js" ></script>
<style type="text/css">
	body{
			background-image: url("../../images/bg.gif");
		}
	table{
			background-image: url("../../images/bgbg3.jpg");
	}
	.btn{
	width:140px;
	height:36px;
	line-height:18px;
	font-size:18px;
	background:url("../../images/button.jpg") no-repeat left top;
	color:#FFF;
	padding-bottom:4px
	} 
	td{
		padding: 0.5em;
	}
/* 	td.top{ */
/* 		border-top-style: groove; */
/* 		border-top-color: lime; */
/* 	} */
/* 	#left{ */
/* 		border-left-style: groove; */
/* 		border-left-color: lime */
/* 	} */
/* 	#right{ */
/* 		border-right-style: groove; */
/* 		border-right-color: lime */
/* 	} */
/* 	td.bottom{ */
/* 		border-bottom-style: groove; */
/* 		border-bottom-color:lime  */
/* 	} */
	.right{
		text-align: right;
	}
</style>
<title>添加考生</title>
<s:head theme="simple" />
</head>
<body>
<s:form name="edit" action="student.action" namespace="admin/stu" theme="simple" method="post"  >
<s:hidden name="action" value="saveUpdatea" />
<table cellspacing="10" >
	<tr>
		<td colspan="4" align="left" style="background-image: ../../images/bgbg9.jpg" >学生信息</td>
	</tr>
	<tr>
	<td align="right" class="top" id="left" >学号：</td>
	<td class="top" >
	<!-- 学号 -->
<s:textfield label="学号" name="stuNo" cssStyle="width:152px;" value="%{student.studentNo}" />
	</td>
	<td align="right" class="top" >姓名：</td>
	<td class="top" id="right" >
	<!-- 姓名 -->
<s:textfield label="姓名" name="name" cssStyle="width:128px;" value="%{student.name}" />	
	</td>
	</tr>
	<tr>
	<td align="right" id="left" >学历：</td>
	<td>
	<!-- 学历 -->
<s:select label="学历" list="#{'0':'小学','1':'初中','2':'高中','3':'中专','4':'大专','5':'本科','6':'硕士','7':'博士','8':'博士后' }" listKey="key" listValue="value" name="studyHistory" value="%{student.studyHistory}" />
	</td>
	<td align="right" >Email：</td>
	<td id="right" >
	<!-- Email -->
<s:textfield label="email" name="email" cssStyle="width:128px;" value="%{student.email}" />	
	</td>
	</tr>
	<tr>
	<td align="right" id="left" >性别：</td>
	<td>
	<!-- 性别 -->
<s:radio label="性别" list="#{'0':'男','1':'女'}" name="sex" value="%{student.sex}" />
	</td>
	<td align="right" >出生年月：</td>
	<td>
	<!-- 出生年月 -->
<s:textfield label="出生年月" name="startDate" readonly="readonly" cssStyle="width:100%;background:url(../images/cal_btn.png) no-repeat right;width:128px;cursor:default;font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;" cssClass="tcal" value="%{student.birthday}" />	
	</td>
	</tr>
	<tr>
	<td align="right" >电话：</td>
	<td>
	<!-- 电话 -->
<s:textfield label="电话" name="telephone" cssStyle="width:152px;" value="%{student.telephone}" />
	</td>
	<td align="right" >手机：</td>
	<td id="right" >
	<!-- 手机 -->
<s:textfield label="手机" name="mobile" cssStyle="width:128px;" value="%{student.mobilePhone}" />	
	</td>
	</tr>
	<tr>
	<td align="right" id="left" >通讯地址：</td>
	<td colspan="3" >
	<!-- 通讯地址 -->
<s:textfield label="通讯地址" name="address" cssStyle="width:424px;" value="%{student.address}" />
	</td></tr>
	<tr>
	<td align="right" id="left" >备注信息：</td>
	<td colspan="3" id="right" >
	<!-- 备注信息 -->
<s:textarea label="备注信息" rows="5" cols="20" name="remark" cssStyle="width:424px;" value="%{student.remark}" />
	</td>
	</tr>
	<tr>
	<td colspan="2" align="right" id="left" class="bottom" >
	<!-- 提交按钮和重置按钮 -->
<s:submit name="submit" value="确定修改" cssClass="btn" onmouseover="this.style.backgroundPosition='left -36px'" onmouseout="this.style.backgroundPosition='left top'" />
	</td>
	<td colspan="2" align="left" id="right" class="bottom" >
	<!-- 提交按钮和重置按钮 -->
<s:reset onclick="history.go(-1);" value="取消修改" cssClass="btn" onmouseover="this.style.backgroundPosition='left -36px'" onmouseout="this.style.backgroundPosition='left top'" />
	</td>
	</tr>
</table>
</s:form>
</body>
</html>